Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated CR to allow any number of disconnected regions and any number of percentiles #109

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

mdhimes
Copy link

@mdhimes mdhimes commented Mar 1, 2019

I've updated the CR function to work for any number of regions and any number of percentiles. Output displays CRs as (region1lo, region1hi) U (region2lo, region2hi) U ... in a nice format (respects 80-character width). The code to do so is perhaps less than ideal (nested loops), but performance-wise the cost of that is minimal and it works. Plots display each requested CR, where darkest is the lowest percentile (e.g., 68% interval would be a dark grey, and 95% interval would be a light grey). Defaults to both 68% and 95% intervals, as non-Gaussian posteriors need more than 1 CR to properly interpret the results.

Let me know if there are any desired changes before you merge this into master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant